﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace Data.Car_Rental
{
    /// <summary>
    /// 通过数据库操作类型
    /// </summary>
    /// <typeparam name="TEntity"></typeparam>
    public class Repository<TEntity> : Car_RentalRepositoryBase, IRepository<TEntity> where TEntity : Entity.EntityBase
    {

        #region IRepository<TEntity> 成员

        public void Update(TEntity entity)
        {
            throw new NotImplementedException();
        }


        public void Update(IList<TEntity> list)
        {
            throw new NotImplementedException();
        }

        public void Insert(TEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Insert(IList<TEntity> list)
        {
            throw new NotImplementedException();
        }

        public TEntity InsertGetIDENTITY(TEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Delete(TEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Delete(IList<TEntity> list)
        {
            throw new NotImplementedException();
        }

        public IQueryable<TEntity> GetModel()
        {
            return base.GetEntities<TEntity>();
        }

        public TEntity Find(params object[] keyValues)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
